namespace Guan.CMS.Data.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class UpdateConfig : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.SiteConfig", "Address", c => c.String());
            AddColumn("dbo.SiteConfig", "Beian", c => c.String());
            AddColumn("dbo.SiteConfig", "Email", c => c.String());
            AddColumn("dbo.SiteConfig", "Mobile", c => c.String());
            AddColumn("dbo.SiteConfig", "Tel", c => c.String());
            AddColumn("dbo.SiteConfig", "QQ", c => c.String());
        }
        
        public override void Down()
        {
            DropColumn("dbo.SiteConfig", "QQ");
            DropColumn("dbo.SiteConfig", "Tel");
            DropColumn("dbo.SiteConfig", "Mobile");
            DropColumn("dbo.SiteConfig", "Email");
            DropColumn("dbo.SiteConfig", "Beian");
            DropColumn("dbo.SiteConfig", "Address");
        }
    }
}
